using System;
using SimpleServiceBus.Endpoint;
using SimpleServiceBus.Messages.Management.Monitoring;

namespace SimpleServiceBus.Bus.MessageManagement.Callbacks
{
    public interface ICallback
    {
        IAsyncResult Register(AsyncCallback callback, object state);
        CompletionResult WaitForResponse(TimeSpan timeout);
        string CorrelationID { get; }
    }
}